package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.Page;

import java.util.List;

public interface EmployeeService {
    R<Employee> login(Employee employee);

    Boolean save(Employee employee);

    Page<Employee> findByPage(Integer currentPage, Integer pageSize, String name);

    R<Employee> findById(Integer id);

    Boolean update(Employee employee);
}
